<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<%@ include file="/commonjsp/baseUtil.jsp"%>
<script type="text/javascript" src="${pageContext.request.contextPath}/js_customer/menu.js"></script>
<link rel="stylesheet"  href="${pageContext.request.contextPath}/css/header.css"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>header</title>
</head>
<body>
	<table style="width: 100%;">
		<tr style="width: 100%;">
			<td style="width: 10%;"></td>
			<td style="width: 80%;">
				<div style="width: 100%; border-bottom: 1px solid red;">
					<img src="${pageContext.request.contextPath}/img/logo.jpg"
						width="100" height="60" alt="首页" />
					<p style="float: right; margin-bottom: 1px;">
						<%if(session.getAttribute("user")==null){%>
							<a href="#" style="position: relative;" onclick="loginUser.login();">登录</a>
							&nbsp;&nbsp; <a href="#" onclick="registerUser.registeCustomer();" style="" name="registe">注册</a>
						<%}else{%>
							欢迎：<span style="color: red;">${sessionScope.user.userName}</span>&nbsp;&nbsp;&nbsp;&nbsp;<a href="#" onclick="userLogout();">退出</a>
						<%}%>
					</p>
				</div>
				<div class="navbox"
					style="width: 100%; border-bottom: 1px solid red;">
					<div class="nav" id="smoothmenu1">
						<ul class="clearfix">
							<li><a href="${pageContext.request.contextPath}/index.aspx"><span>网站首页</span></a></li>
							<li><a href="${pageContext.request.contextPath}/index.aspx"><span>娱乐汇总</span></a></li>
							<li><a href="${pageContext.request.contextPath}/index.aspx"><span>美女交友</span></a></li>
							<li><a href="${pageContext.request.contextPath}/index.aspx"><span>交友论坛</span></a></li>
							<li><a href="${pageContext.request.contextPath}/index.aspx"><span>交友攻略</span></a></li>
							<li><a href="${pageContext.request.contextPath}/index.aspx"><span>城管公告</span></a></li>
						</ul>
					</div>
				</div>
			</td>
			<td style="width: 10%;"></td>
		</tr>
		<tr style="width: 100%;">
			<td style="width: 10%;"></td>
			<td style="width: 80%;">
				<table style="width: 100%; border-collapse: collapse;">
					<tr style="width: 100%;">
						<td style="border-top: text-align:        center;"
							class="border_bottom">
							<h2 id="currentCIty">
								<%
									if(session.getAttribute("city")==null){
										if(session.getAttribute("user")==null){
								%>
									上海站
								<%
										}else{
								%>
											${sessionScope.user.city.cityName}站
								<% 		}
									}else{%>
										${sessionScope.city.cityName}站
								<%  }%>
							</h2>&nbsp;&nbsp;&nbsp;&nbsp; <span
							style="float: left; text-align: center; height: 100%; line-height: 27px;">
								[<a href="#" onclick="citySelecter.openDialog();">切换城市</a>]&nbsp;&nbsp;&nbsp;&nbsp; <input
								type="text" name="cityName" id="cityName" style=""
								class="text ui-widget-content ui-corner-all" />
								<button style="height: 18px; margin-top: -5px;"
									class="ui-button ui-widget ui-state-default ui-corner-all ui-button-icon-only">
									<span class="ui-icon ui-icon-search"></span>
								</button>
						</span> <span
							style="float: left; margin-left: 6px; text-align: center; height: 100%; line-height: 27px;">热搜：&nbsp;&nbsp;<a
								href="#">楼凤</a>&nbsp;&nbsp;<a href="#">兼职</a>&nbsp;&nbsp;<a
								href="#">约会</a>&nbsp;&nbsp;<a href="#">真实交友</a>&nbsp;&nbsp;<a
								href="#">会所</a>&nbsp;&nbsp;<a href="#">其他娱乐场所</a></span>
						</td>
					</tr>
				</table>
			</td>
			<td style="width: 10%;"></td>
		</tr>
	</table>
	<div id="dialog-form-register" title="注册用户">
		<p class="validateTips">字段都为必须字段</p>
		<form>
			<fieldset>
				<label for="userNameRegister">用户名:</label>
				<input type="text" name="userNameRegister" id="userNameRegister" class="text ui-widget-content ui-corner-all" />
				<br/>
				<label for="passwordRegister">密码设置:</label>
				<input type="password" name="passwordRegister" id="passwordRegister" class="text ui-widget-content ui-corner-all" />
				<br/>
				<label for="passwordRegister2">确认密码:</label>
				<input type="password" name="passwordRegister2" id="passwordRegister2" class="text ui-widget-content ui-corner-all" />
				<br/>
				<label for="customerRegister">所在城市:</label>
				<input type="radio" name="customerRegister" checked="checked" value="1"/>上海
				<input type="radio" name="customerRegister" value="2"/>北京
				<input type="radio" name="customerRegister" value="3"/>广州
				<br/>
				<label for="emailRegister">电子邮件:</label>
				<input type="text" name="emailRegister" id="emailRegister" class="text ui-widget-content ui-corner-all" />
			</fieldset>
		</form>
	</div>
	<div id="dialog-form-login" title="用户登录">
		<p class="validateTips">字段都为必须字段</p>
		<form>
			<fieldset>
				<label for="userNameLogin">用户名:</label>
				<input type="text" name="userNameLogin" id="userNameLogin" class="text ui-widget-content ui-corner-all" />
				<br/>
				<label for="passwordLogin">密码:</label>
				<input type="password" name="passwordLogin" id="passwordLogin" class="text ui-widget-content ui-corner-all" />
			</fieldset>
		</form>
	</div>
	<div id="dialog-form-cityselecter" title="城市选择">
		<form id="city-selecter-citys">
			
		</form>
	</div>
</body>
</html>